package 外观模式.经典外观模式;

public class Facade {
    private OperatingSystem operatingSystem;

    public Facade() {
        operatingSystem = new OperatingSystem();
    }

    public void start() {
        System.out.println("外观模式开始启动操作系统");
        operatingSystem.start();
    }

    public void shutdown() {
        System.out.println("外观模式开始关闭操作系统");
        operatingSystem.shutdown();
    }
}
